<template>
  <div class="loadingWrap" v-if="show" >
    <van-loading  type="spinner" color="#1ED6C2"  />
  </div>
</template>

<script>
export default {
  name:'loading',
  data () {
    return {
      show:false,
    }
  },
  props:{
    // show:{
    //     type:Boolean,
    //     default:false
    // },
  }

}
</script>

<style lang='scss' scoped>
.loadingWrap{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(256,256,256,.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
::v-deep .van-overlay{
  background: transparent!important;
}
</style>
